Developer Documentation
PATH  WebObjects 4.0 Documentation > WebObjects Tools and Techniques

Table of Contents Previous Section

Entering Text

When you begin to edit a new component, the cursor (insertion point) appears at the upper left of the screen. You can begin typing text directly, and the text appears in the default font and size. If you press Enter, a line break (<BR> element) is inserted after the line. If you want a paragraph element (<P>), press Shift-Enter. See "Structure Elements" for information on other types of text elements.

The top row of the toolbar contains a set of buttons that operate on the currently selected text. If no text is selected, they change the setting for any text typed in at the insertion point.

: In graphical mode, these buttons allow you to toggle the style of the currently selected text. You can set any combination of bold (<B>), italics (<I>), underline (<U>) and typewriter (fixed-width) font (<TT>). In source mode, these buttons insert the code for the text style at the insertion point, or around selected text.

: This pop-up list allows you to set the font size of the currently selected text.

: This color well allows you to set the color of the currently selected text. To change the color, click on the border of the color well and select a color from the Colors panel. See "Setting Colors" for more information.

: This button changes the selected text to a hyperlink.

: This pop-up list allows you to center or justify text.

If you make a mistake, simply choose Undo from the Edit menu.

Table of Contents Next Section